<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:62:"E:\xampp\htdocs\yicai\public/../app/home\view\index\index.html";i:1516007602;s:61:"E:\xampp\htdocs\yicai\public/../app/home\view\common\nav.html";i:1515072480;}*/ ?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="shortcut icon" href="__IMG__/favicon.ico" />
		<link rel="bookmark" href="__IMG__/favicon.ico" type="image/x-icon" 　/>
		<title>首页</title>
		<link rel="stylesheet" type="text/css" href="__CSS__/mui.min.css"/>
		<link rel="stylesheet" type="text/css" href="__CSS__/common.css"/>
		<link rel="stylesheet" type="text/css" href="__CSS__/index.css"/>
		<script src="__JS__/mui.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" charset="utf-8">
	      	mui.init();
	  	 	setTimeout(function(){
		    var gallery = mui('.mui-slider');
			    gallery.slider({
			         interval:1800//自动轮播周期，若为0则不自动播放，默认为0；
			    });
			},300)
        </script>
	</head>
	<body class="bg_ff">
		<header class="mui-bar mui-bar-nav">
		    <h1 class="mui-title">首页</h1>
		    <a href="<?php echo url('mine/service'); ?>"  class="right sever_box"><img class="width_100 mg_top5" src="__IMG__/icon_service.png" alt="" /></a>
		</header>
		<nav class="mui-bar mui-bar-tab">
    <a class="mui-tab-item1 <?php if($controllerName=='index'): ?>mui-active<?php endif; ?>" href="<?php echo url('index/index'); ?>">
        <?php if($controllerName=='index'): ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_01b.png"/></span>
        <?php else: ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_01.png"/></span>
        <?php endif; ?>
        <span class="mui-tab-label">首页</span>
    </a>
    <a class="mui-tab-item1 <?php if($controllerName=='lottery'): ?>mui-active<?php endif; ?> " href="<?php echo url('lottery/index'); ?>">
        <?php if($controllerName=='lottery'): ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_02b.png"/></span>
        <?php else: ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_02.png"/></span>
        <?php endif; ?>
        <span class="mui-tab-label">开奖</span>
    </a>
    <a class="mui-tab-item1 <?php if($controllerName=='notice'): ?>mui-active<?php endif; ?>" href="<?php echo url('notice/index'); ?>">
        <?php if($controllerName=='notice'): ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_03b.png"/></span>
        <?php else: ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_03.png"/></span>
        <?php endif; ?>
        <span class="mui-tab-label">公告</span>
    </a>
    <a class="mui-tab-item1 <?php if($controllerName=='recharge'): ?>mui-active<?php endif; ?> " href="<?php echo url('recharge/index'); ?>">
        <?php if($controllerName=='recharge'): ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_04b.png"/></span>
        <?php else: ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_04.png"/></span>
        <?php endif; ?>
        <span class="mui-tab-label">充值</span>
    </a>
    <a class="mui-tab-item1 <?php if($controllerName=='mine'): ?>mui-active<?php endif; ?>" href="<?php echo url('mine/index'); ?>">
        <?php if($controllerName=='mine'): ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_05b.png"/></span>
        <?php else: ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_05.png"/></span>
        <?php endif; ?>
        <span class="mui-tab-label">我的</span>
    </a>
</nav>
		<div class="mui-content bg_ff">
			<div id="slider" class="mui-slider">
				<div class="mui-slider-group mui-slider-loop">
					<!-- 额外增加的一个节点(循环轮播：第一个节点是最后一张轮播) -->
					<div class="mui-slider-item mui-slider-item-duplicate">
						<a href="#">
							<img src="<?php echo $ads[3]['ad_url']; ?>">
						</a>
					</div>
					<?php foreach($ads as $k=>$v): ?>
					<div class="mui-slider-item">
						<a href="#">
							<img src="<?php echo $v['ad_url']; ?>">
						</a>
					</div>
					<?php endforeach; ?>
					<!-- 额外增加的一个节点(循环轮播：最后一个节点是第一张轮播) -->
					<div class="mui-slider-item mui-slider-item-duplicate">
						<a href="#">
							<img src="<?php echo $ads[0]['ad_url']; ?>">
						</a>
					</div>
				</div>
				<div class="mui-slider-indicator mui-text-center">
					<div class="mui-indicator mui-active"></div>
					<div class="mui-indicator"></div>
					<div class="mui-indicator"></div>
					<div class="mui-indicator"></div>
				</div>
			</div>
			<div class="clearfix">
				<p class="index_box1 left">
					公告
				</p>
				<marquee direction="left" class="left"style="width: 75%;padding: 10px 5px;" >
					<?php foreach($notice as $k=>$v): ?>
					<a href="<?php echo url('notice/detail',array('id'=>$v['id'],'type'=>1)); ?>"><?php echo $v['info']; ?></a>
					<?php endforeach; ?>
				</marquee>


			</div>

			<div class="clearfix index_box2">
		    	<dl class="text-center">
		    		<a href="<?php echo url('game/eight'); ?>">
		    			<dt><img src="__IMG__/img1.png"/></dt>
		    		   <dd>PC蛋蛋</dd>
		    		</a>
		    	</dl>
		    	<dl class="text-center">
		    		<a href="<?php echo url('game/canada'); ?>">
		    			<dt><img src="__IMG__/img2.png"/></dt>
		    		    <dd>加拿大28</dd>
		    		</a>
		    	</dl>
		    	<dl class="text-center">
		    		<a href="<?php echo url('game/car'); ?>">
		    			<dt><img src="__IMG__/img3.png"/></dt>
		    		    <dd>北京赛车</dd>
		    		</a>
		    	</dl>
		    	<dl class="text-center">
		    		<a href="<?php echo url('game/airship'); ?>">
		    			<dt><img src="__IMG__/img4.png"/></dt>
		    		    <dd>幸运飞艇</dd>
		    		</a>
		    	</dl>
		    	<dl class="text-center">
		    		<a href="<?php echo url('game/ssc'); ?>">
		    			<dt><img src="__IMG__/img5.png"/></dt>
		    		    <dd>重庆时时彩</dd>
		    		</a>
		    	</dl>
		    	<dl class="text-center">
		    		<a href="<?php echo url('game/tjssc'); ?>">
		    			<dt><img src="__IMG__/img6.png"/></dt>
		    		    <dd>天津时时彩</dd>
		    		</a>
		    	</dl>
		    	<dl class="text-center">
		    		<a href="<?php echo url('game/gd10'); ?>">
			    		<dt><img src="__IMG__/img9.png"/></dt>
			    		<dd>广东快乐十分</dd>
		    		</a>
		    	</dl>
		    	<dl class="text-center">
		    		<a href="<?php echo url('game/cq10'); ?>">
		    			<dt><img src="__IMG__/img10.png"/></dt>
		    		    <dd>重庆快乐十分</dd>
		    		</a>
		    	</dl>
		    	<dl class="text-center">
		    		<a href="<?php echo url('game/fast'); ?>">
		    			<dt><img src="__IMG__/img12.png"/></dt>
		    		    <dd>江苏快三</dd>
		    		</a>
		    	</dl>
		    	<dl class="text-center">
		    		<a href="<?php echo url('game/gd11'); ?>">
		    			<dt><img src="__IMG__/img11.png"/></dt>
		    		    <dd>广东11选5</dd>
		    		</a>
		    	</dl>
		    	<dl class="text-center">
		    		<a href="<?php echo url('game/hk'); ?>">
		    			<dt><img src="__IMG__/img8.png"/></dt>
		    		    <dd>香港六合彩</dd>
		    		</a>
		    	</dl>
		    </div>
			<p class="index_box1 mg_top10 two">
				正规赌场  合作平台
			</p>
			<div class="index_box3 padding_10">
				<p><a href="javascript:void(0);"><img src="__IMG__/1.png" alt="" /></a></p>
				<ul class="clearfix">
					<li><a href="<?php echo url('web/login_web',array('game'=>'AG')); ?>"><img src="__IMG__/AG.png"/></a></li>
					<li><a href="<?php echo url('web/login_web',array('game'=>'BB')); ?>"><img src="__IMG__/BBIN.png"/></a></li>
					<li><a href="<?php echo url('web/login_web',array('game'=>'AG')); ?>"><img src="__IMG__/AG.png"/></a></li>
					<li><a href="<?php echo url('web/login_web',array('game'=>'BB')); ?>"><img src="__IMG__/BBIN.png"/></a></li>
				</ul>
			</div>

		</div>
		
	</body>
</html>
